<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/animate9.0.js"></script>
    <script src="js/index.js"></script>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        
        .banner {
            position: relative;
            width: 810px;
            height: 320px;
            margin: 50px auto;
            background: grey;
            overflow: hidden;
        }
        
        .img-list {
            list-style: none;
            position: absolute;
            left: 0;
            top: 0;
            width: 5240px;
            height: 320px;
        }
        
        .img-list li {
            float: left;
        }
        
        .banner-nav-list {
            list-style: none;
            position: absolute;
            right: 100px;
            bottom: 50px;
        }
        
        .banner-nav-list li {
            background: red;
            float: left;
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
            text-align: center;
        }
        
        .banner-nav-list li.active {
            background: yellow;
        }
        
        .banner .toLeft {
            width: 60px;
            height: 60px;
            background: url(img/btn.gif);
            position: absolute;
            left: 30px;
            top: 120px;
            /*opacity: 0;*/
        }
        
        .banner .toRight {
            width: 60px;
            height: 60px;
            background: url(img/btn.gif) 0px 60px;
            position: absolute;
            right: 30px;
            top: 120px;
            /*opacity: 0;*/
        }
        
        #arr {
            opacity: 0;
        }
    </style>
</head>

<body>
    <div class="banner" id="banner">
        <ul class="img-list" id="img-list">
            <li index="0"><img src="img/001.jpg"></li>
            <li index="1"><img src="img/002.jpg"></li>
            <li index="2"><img src="img/003.jpg"></li>
            <li index="3"><img src="img/004.jpg"></li>
            <li index="0"><img src="img/001.jpg"></li>
        </ul>

        <ul class="banner-nav-list" id="banner-list">
            <li class="active">1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
        </ul>
        <div id="arr">
            <div class="toLeft" id="toLeft"></div>
            <div class="toRight" id="toRight"></div>
        </div>
    </div>
</head>
<body>
    
</body>
</html>